﻿using Ardalis.Specification.EntityFrameworkCore;
using HuaweiCloud.Dotnet.Samples.Common;
using Microsoft.EntityFrameworkCore;

namespace HuaweiCloud.Dotnet.Samples.Repository
{
    /// <summary>
    /// 默认的仓储实现
    /// </summary>
    /// <typeparam name="T">实体泛型</typeparam>
    public class DefaultRepository<T> : RepositoryBase<T>, IRepository<T> where T : class, IAggregateRoot
    {
        public DefaultRepository(DefaultDbContext dbContext) : base(dbContext)
        {

        }
    }
}
